package org.git.movie.config;

import org.apache.ibatis.plugin.Interceptor;
import org.git.movie.interceptors.SqlStatementInterceptor;
import org.mybatis.spring.boot.autoconfigure.ConfigurationCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author sqyc
 */
@Configuration
public class MybatisConfig {


    @Bean
    public Interceptor getInterceptor(){
        return new SqlStatementInterceptor();
    }

}
